package com.haozi.ehub.core.exception;

import org.springframework.security.core.AuthenticationException;

/**
 * @author ：terry
 * @date ：Created in 2020/7/2 9:22
 * @description：TODO
 * @version: 1.0
 */
public class UsernameOrPasswordErrorException extends AuthenticationException {

    private static final long serialVersionUID = 1L;
    /**
     * @author     ： terry
     * @date       ： Created in 2020/7/10 12:08
     * @param t
     * @return UsernameOrPasswordErrorException
     */
    public UsernameOrPasswordErrorException(String msg, Throwable t) {
        super(msg, t);
    }

    /**
     * @author     ： terry
     * @date       ： Created in 2020/7/10 12:08
     * @param msg
     * @return UsernameOrPasswordErrorException
     */
    public UsernameOrPasswordErrorException(String msg) {
        super(msg);
    }
}
